﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.nm.Attributes;
using Newtonsoft.Json;

namespace CsrdAPI.model
{
    public class CsrdClient
    {
        [ParamDescription("序号")]
        public int ClientID { get; set; }

        [ParamDescription("客户代码")]
        public string ClientCode { get; set; }

        [ParamDescription("店铺ID")]
        public string ShopID { get; set; }

        [ParamDescription("内部店铺编码")]
        public string ShopCode { get; set; }

        [ParamDescription("内部店铺名称")]
        public string ShopName { get; set; }

        [ParamDescription("注册名称")]
        public string RegistName { get; set; }

        [ParamDescription("营业执照号")]
        public string RegistCode { get; set; }

        [ParamDescription("店铺注册地址")]
        public string RedistAddress { get; set; }

        [ParamDescription("开户银行")]
        public string BankName { get; set; }

        [ParamDescription("账号")]
        public string AccountCode { get; set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [ParamDescription("店铺联系人")]
        public string ShopLinkMan { get; set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [ParamDescription("店铺联系电话")]
        public string ShopTelePhone { get; set; }

        [ParamDescription("合同开始日期")]
        public DateTime ContractBeginDate { get; set; }

        [ParamDescription("合同结束日期")]
        public DateTime ContractEndDate { get; set; }

        [ParamDescription("合同扣点")]
        public Double Discount { get; set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [ParamDescription("营业执照")]
        public System.Guid? RigistImgID { get; set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [ParamDescription("操作人")]
        public string Operator { get; set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [ParamDescription("创建时间")]
        public DateTime CreateDate { get; set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [ParamDescription("修改时间")]
        public DateTime ModifyDate { get; set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [ParamDescription("ImgUrl")]
        public string ImgUrl { get; set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [ParamDescription("合同号")]
        public string ContractCode { get; set; }

        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [ParamDescription("合同状态")]
        public string ContractState { get; set; }
    }
    public class SearchShopName:CsrdClient
    {
        [ParamDescription("省份")]
        public string BigAreaName { get; set; }
    }
}
